package com.sy.mapper.report;

import com.sy.bean.pucharse.excel.PurchaseExcel;
import com.sy.bean.report.PurchaseReport;
import com.sy.bean.report.PurchaseReportExcel;
import com.sy.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PurchaseReportMapper extends IMapper<PurchaseReport> {
    /**
     * 查询供应商名称
     * @return
     */
    List<Map> querySupplierName(int eid);

    /**
     * 查询仓库名称
     * @return
     */
    List<Map> queryWarehouse(int eid);

    /**
     * 导出的采购报表列表
     * @param map
     * @return
     */
    List<PurchaseReportExcel> exportPurchaseReport(Map map);
}
